StdPoly
GrafVerb gVerb ; frame, paint, erase, invert, or fill
PolyHandle thePoly ; handle leading to Polygon to draw
This is Quickdraw's default low-level routine for drawing polygons. The
polygon is framed, painted, erased, inverted, or filled, depending upon the
grafVerb.
gVerb is a GrafVerb enumerated-integer data type specifying the operation
to perform; it must be one of:
frame 0 draw the outline using current pen parameters
paint 1 fill with thePort->pnPat
erase 2 fill with thePort->bkPat
invert 3 toggle all bits enclosed by the object
fill 4 fill with thePort->fillPat
thePoly is a handle leading to a variable-length Polygon structure, expressed in local coordinates, which defines the vertices of the
polygon to draw. See FramePoly for illustrations and related information.
Notes: Use StdPoly only if your application intercepts the Quickdraw bottleneck All grafVerbs are performed using values taken from the current grafPort.
Output is clipped to portBits.bounds, portRect, visRgn, and clipRgn. This function does not affect the pen position.
If a region is currently open and being formed (see OpenRgn), and gVerb=frame, the polygon's interior is added to the region's structure. If
polygon into its definition.